package com.vcms.utility.loader.storage.engine;

import com.vcms.exception.VMCSException;

/**
 * @author robin.foe A0092657U
 * Bridge design pattern implementor
 */

public abstract class StorageEngine<T> {
	
	abstract public T getItem(int pk);
	abstract public void setItem(int pk, T storeItem);
	
	abstract public int getItemCount();
	abstract public void setItemCount(int count);
	
	abstract public void flush() throws VMCSException;

}
